↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
qs2: (b,f)
split4: (b,b,f,f)
less2: (b,b)
geq2: (b,b)
append3: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
QS_2_IN_GA2(cons_22(X, L), S) -> SPLIT_4_IN_GGAA4(L, X, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> LESS_2_IN_GG2(X, Y)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_2_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> GEQ_2_IN_GG2(X, Y)
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GEQ_2_IN_1_GG3(X, Y, geq_2_in_gg2(X, Y))
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_4_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> IF_QS_2_IN_4_GA6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> APPEND_3_IN_GGA3(S1, cons_22(X, S2), S)
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> IF_APPEND_3_IN_1_GGA5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
QS_2_IN_GA2(cons_22(X, L), S) -> SPLIT_4_IN_GGAA4(L, X, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> LESS_2_IN_GG2(X, Y)
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_2_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> GEQ_2_IN_GG2(X, Y)
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GEQ_2_IN_1_GG3(X, Y, geq_2_in_gg2(X, Y))
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_4_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> IF_QS_2_IN_4_GA6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> APPEND_3_IN_GGA3(S1, cons_22(X, S2), S)
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> IF_APPEND_3_IN_1_GGA5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APPEND_3_IN_GGA2(cons_22(X, L1), L2) -> APPEND_3_IN_GGA2(L1, L2)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
SPLIT_4_IN_GGAA2(cons_22(X, L), Y) -> IF_SPLIT_4_IN_3_GGAA4(X, L, Y, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA2(cons_22(X, L), Y) -> IF_SPLIT_4_IN_1_GGAA4(X, L, Y, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA4(X, L, Y, geq_2_out_gg) -> SPLIT_4_IN_GGAA2(L, Y)
IF_SPLIT_4_IN_1_GGAA4(X, L, Y, less_2_out_gg) -> SPLIT_4_IN_GGAA2(L, Y)
geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
geq_2_in_gg2(x0, x1)
less_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_less_2_in_1_gg1(x0)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))
QS_2_IN_GA1(cons_22(X, L)) -> IF_QS_2_IN_1_GA2(X, split_4_in_ggaa2(L, X))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(cons_22(X, L)) -> if_qs_2_in_1_ga2(X, split_4_in_ggaa2(L, X))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_qs_2_in_1_ga2(X, split_4_out_ggaa2(L1, L2)) -> if_qs_2_in_2_ga3(X, L2, qs_2_in_ga1(L1))
if_qs_2_in_2_ga3(X, L2, qs_2_out_ga1(S1)) -> if_qs_2_in_3_ga3(X, S1, qs_2_in_ga1(L2))
if_qs_2_in_3_ga3(X, S1, qs_2_out_ga1(S2)) -> if_qs_2_in_4_ga1(append_3_in_gga2(S1, cons_22(X, S2)))
append_3_in_gga2([]_0, L) -> append_3_out_gga1(L)
append_3_in_gga2(cons_22(X, L1), L2) -> if_append_3_in_1_gga2(X, append_3_in_gga2(L1, L2))
if_append_3_in_1_gga2(X, append_3_out_gga1(L3)) -> append_3_out_gga1(cons_22(X, L3))
if_qs_2_in_4_ga1(append_3_out_gga1(S)) -> qs_2_out_ga1(S)
qs_2_in_ga1(x0)
split_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_split_4_in_1_ggaa4(x0, x1, x2, x3)
geq_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_split_4_in_3_ggaa4(x0, x1, x2, x3)
if_split_4_in_4_ggaa2(x0, x1)
if_split_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
append_3_in_gga2(x0, x1)
if_append_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)
The remaining Dependency Pairs were at least non-strictly be oriented.
QS_2_IN_GA1(cons_22(X, L)) -> IF_QS_2_IN_1_GA2(X, split_4_in_ggaa2(L, X))
With the implicit AFS we had to orient the following set of usable rules non-strictly.
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))
Used ordering: POLO with Polynomial interpretation:
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
POL(if_qs_2_in_4_ga1(x1)) = 0
POL(less_2_out_gg) = 0
POL(0_0) = 0
POL(IF_QS_2_IN_1_GA2(x1, x2)) = x2
POL(split_4_in_ggaa2(x1, x2)) = x1
POL(geq_2_out_gg) = 0
POL(if_append_3_in_1_gga2(x1, x2)) = 0
POL(if_qs_2_in_1_ga2(x1, x2)) = 0
POL(if_qs_2_in_2_ga3(x1, x2, x3)) = 0
POL(IF_QS_2_IN_2_GA3(x1, x2, x3)) = x2
POL(QS_2_IN_GA1(x1)) = x1
POL(if_qs_2_in_3_ga3(x1, x2, x3)) = 0
POL(cons_22(x1, x2)) = 1 + x2
POL(append_3_in_gga2(x1, x2)) = 0
POL(if_split_4_in_1_ggaa4(x1, x2, x3, x4)) = 1 + x2
POL(append_3_out_gga1(x1)) = 0
POL(qs_2_in_ga1(x1)) = 0
POL(qs_2_out_ga1(x1)) = 0
POL([]_0) = 0
POL(split_4_out_ggaa2(x1, x2)) = x1 + x2
POL(if_split_4_in_2_ggaa2(x1, x2)) = 1 + x2
POL(if_geq_2_in_1_gg1(x1)) = 0
POL(geq_2_in_gg2(x1, x2)) = 0
POL(if_less_2_in_1_gg1(x1)) = 0
POL(s_11(x1)) = 0
POL(if_split_4_in_4_ggaa2(x1, x2)) = 1 + x2
POL(if_split_4_in_3_ggaa4(x1, x2, x3, x4)) = 1 + x2
POL(less_2_in_gg2(x1, x2)) = 0
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))
qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(cons_22(X, L)) -> if_qs_2_in_1_ga2(X, split_4_in_ggaa2(L, X))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_qs_2_in_1_ga2(X, split_4_out_ggaa2(L1, L2)) -> if_qs_2_in_2_ga3(X, L2, qs_2_in_ga1(L1))
if_qs_2_in_2_ga3(X, L2, qs_2_out_ga1(S1)) -> if_qs_2_in_3_ga3(X, S1, qs_2_in_ga1(L2))
if_qs_2_in_3_ga3(X, S1, qs_2_out_ga1(S2)) -> if_qs_2_in_4_ga1(append_3_in_gga2(S1, cons_22(X, S2)))
append_3_in_gga2([]_0, L) -> append_3_out_gga1(L)
append_3_in_gga2(cons_22(X, L1), L2) -> if_append_3_in_1_gga2(X, append_3_in_gga2(L1, L2))
if_append_3_in_1_gga2(X, append_3_out_gga1(L3)) -> append_3_out_gga1(cons_22(X, L3))
if_qs_2_in_4_ga1(append_3_out_gga1(S)) -> qs_2_out_ga1(S)
qs_2_in_ga1(x0)
split_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_split_4_in_1_ggaa4(x0, x1, x2, x3)
geq_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_split_4_in_3_ggaa4(x0, x1, x2, x3)
if_split_4_in_4_ggaa2(x0, x1)
if_split_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
append_3_in_gga2(x0, x1)
if_append_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)